package com.rk.admin.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.rk.admin.domain.Teacher;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface TeacherMapper extends BaseMapper<Teacher> {

    public int updatebyid(Teacher teacher);

    public int insert(Teacher teacher);

    /**
     * 通过id删除
     * @param id
     * @return
     */
    public int deleteById(Integer id);
}
